Multplexing-interleaving and demultipexing-deinterleaving

ABSTRACT

The processor ( 24 ) retrieves from a memory ( 22 ) values of a signal recovered from received wireless signal and demultiplexes and de-interleaves them simultaneously. The system can be operated in reverse to produce a multiplexed, interleaved data stream for wireless transmission.

[0001] This invention relates to methods and apparatus for reordering data and separating or combining data streams.

[0002] At a digital communications transmitter, bits produced by a channel encoder are reordered (or interleaved) to increase their resistance to correlated channel imperfections (noise, fading etc.). At the receiver, this reordering must be reversed using a de-interleaver before channel decoding can take place. After de-interleaving in the receiver, the bits are often de-multiplexed which means that the de-interleaved bits are split into several smaller sets of bits which are used separately.

[0003] For example, in the system described in “3G TS 25 212 v 3.0.0 third generation partnership project (3GPP); technical specification group radio access network multiplexing and channel coding (FDD)”, a turbo encoder produces bits which are then interleaved. At the receiver, the bits are de-interleaved before being passed to the turbo decoder. The turbo decoder needs to de-multiplex its input to produce three distinct sets of inputs: One is the received systematic soft decisions (labelled S(0,1, . . . )), another is the parity information from one component encoder (labelled P₁(0,1 . . . )), and the third is the parity information from the other component encoder (labelled P₂(0,1 . . . )). These bits are output by the transmitter multiplexer in the order S(0), P₁(0), P₂(0), S(1), P₁(1), P₂(1).

[0004] In the conventional receiver system, the received data stream is input to a first memory area and then rewritten to a second memory area by a de-interleaver in the de-interleaved order. A de-multiplexer then writes the de-interleaved data into separate output buffers for each of the separate data streams forming part of the received signal. This process is memory intensive in terms of both the amount of memory required and the time taken to perform the memory access operations.

[0005] It is an object of the invention to provide for more efficient de-interleaving-demultiplexing and/or multiplexing-interleaving of data.

[0006] According to a first aspect, the invention provides a method of recovering separate data streams from a composite data stream with the data within each separate recovered stream reordered compared with the composite stream, said method comprising applying a single transformation to each data item in the composite data stream to assign it to its correct position in the appropriate one of the recovered data streams.

[0007] The invention also extends to a program for performing the above method.

[0008] According to a second aspect, the invention provides apparatus for recovering separate data streams from a composite data stream with the data within each separate recovered stream reordered compared with the composite stream, said apparatus comprising means for applying a single transformation to each data item in the composite data stream to assign it to its correct position in the appropriate one of the recovered separate data streams.

[0009] According to a third aspect, the invention provides a method of producing a composite data stream from separate data streams with the data within the composite stream being reordered compared to the separate streams, said method comprising applying to each data item in each of the separate data streams a single transformation to assign it to its appropriate position in the composite data stream.

[0010] The invention also extends to a program for performing the above method.

[0011] According to a fourth aspect, the invention provides apparatus for producing a composite data stream from separate data streams with the data within the composite stream being reordered compared to the separate streams, said apparatus comprising means for applying to each data item in each of the separate data streams a single transformation to assign it to its appropriate position in the composite data stream.

[0012] The invention, by combining the reordering and separation/combination operations achieves a saving of processing time and also a saving of memory usage (in terms of silicon real estate and time spent accessing the memory).

[0013] In a preferred embodiment, the reordering operation is an interleaving or a de-interleaving algorithm.

[0014] Preferably, the data items in the recovered data streams are soft decisions (tentatively identified data).

[0015] In the preferred embodiment, the separate data streams are a stream of systematic data (S) and two streams of parity information from two component encoders (P₁, P₂), such as may be produced by a 3GPP turbo encoder.

[0016] By way of example only, an embodiment of the invention will now be described with reference to the accompanying figures, in which:

[0017]FIG. 1 illustrates schematically prior art processing circuitry in a receiver; and

[0018]FIG. 2 illustrates schematically processing circuitry in a receiver according to the invention.

[0019] In the example of FIG. 1, the receiver receives a data stream which is an interleaved version of a composite signal created by multiplexing two data streams a and b. Data stream a contains consecutive data items a1, a2, a3, a4 . . . and data stream b contains data items b1, b2, b3, b4 . . .

[0020] In the prior art receiver circuitry of FIG. 1, the received data stream is buffered in a first memory 10 as a series of bits (or soft decisions) a2, b2, a1, b1, a4, b4, a3, b3. De-interleaver 12 operates on the list of bits in memory 10 to cancel the action of the interleaver operating in the transmitter which sent the data stream. The de-interleaver 12 writes the bits from memory 10 into a second memory 14 in the de-interleaved order: a1, b2, a2, b2, a3, b3, a4, b4. De-multiplexer 16 then operates on the de-interleaved data in memory 14 to provide de-multiplexed data streams a and b to respective output buffers 18 and 20. The de-multiplexed data streams in buffers 18 and 20 are then used by the receiver in further processing operations as desired.

[0021] In the circuitry of FIG. 2, the receiver receives the same interleaved multiplexed data stream as in FIG. 1. This data stream is stored into memory 22. A processor 24 is arranged to read the data items from memory 22 and perform both the de-interleaving and de-multiplexing operations at the same time using a single transformation. For example, upon reading the first entry (a2) in memory 22, the processor 24 immediately writes this data item to the second position in output buffer 26 for data stream a. Upon reading the last item (b3) in memory 22, processor 24 writes it to the third position in output buffer 28 for data stream b.

[0022] Thus, there is a saving in the amount of memory required in that the de-interleaver output memory 14 of FIG. 1 can be omitted. There are also considerable time savings. First, rather than performing a de-interleaving operation and subsequently a de-multiplexing operation, a single transformation is applied to each data item in the received signal buffer 22. Second, there is now only a single memory read and a single memory write operation for each data item. In the prior art, there were extra delays associated with writing de-interleaved data into memory 14 and reading data from this memory for de-multiplexing. These memory access time delays are now avoided.

[0023] It will be appreciated that the number of multiplexed data streams a, b and the number of bits shown in the memories described are arbitrary and may be varied. In addition, the application of the invention to a transmitter which multiplexes and then interleaves data streams will be clear to persons skilled in this art. For example, in FIG. 2, the process flow arrows could be reversed. Buffers 26 and 28 then become input buffers for buffering the data streams to be multiplexed by processor 24, which also interleaves the data items. The interleaved, multiplexed data items are written into memory 22, which becomes an output buffer from which the interleaved and multiplexed data stream can be provided to, ultimately, a transmitter antennae. 

1. A method of recovering separate data streams from a composite data stream, in which method the order of the data in each separate recovered stream is different to the order in which that data appears in the composite stream, said method comprising performing a single operation on each data item in the composite data stream to assign the data item to the correct position in be appropriate one of the recovered data streams.
 2. A method of recovering separate data streams according to claim 1, wherein the reordering operation comprises de-interleaving.
 3. A method of producing a composite data stream from separate data streams, in which method the order of the data in each separate stream is different to the order in which that data appears in the composite stream, said method comprising performing a single operation on each data item in each of the separate data streams to assign the data item to the appropriate position in the composite data stream.
 4. A method of producing a composite data stream according to claim 3, wherein the reordering operation comprises interleaving.
 5. A program for performing the method of any one of claims 1 to
 4. 6. Apparatus for recovering separate data stream from a composite data stream such that the order of the data in each separate recovered stream is different to the order in which that data appears in the composite stream, said apparatus comprising means for performing a single operation on each data item in the composite data stream to assign the data item to the correct position in the appropriate one of the recovered separate data streams.
 7. Apparatus according to claim 6, wherein the means for applying a transformation is arranged to deinterleave the data.
 8. Apparatus for producing a composite data stream from separate data streams such that the order of the data in each separate stream is different to the order in which that data appears in the composite stream, said apparatus comprising means for performing a single operation on each data item in each of the separate data streams to assign the data item to the appropriate position in the composite data stream.
 9. Apparatus according to claim 8, wherein the means for applying a transformation is arranged to interleave the data.
 10. A method of recovering separate data streams substantially as hereinbefore described with reference to FIG.
 2. 11. A method of producing a composite data stream substantially as hereinbefore described with reference to FIG.
 2. 12. Apparatus for recovering separate data streams substantially as hereinbefore described with reference to FIG.
 2. 13. Apparatus for producing a composite data stream substantially as hereinbefore described with reference to FIG.
 2. 